/**
 * 
 */
package org.jenkon.commons.collection.iterator;

import java.util.Iterator;

/**
 * @author Jens Konopka
 * 
 * @param <E> the element type
 */
public interface OrderedIterator<E> extends Iterator<E> {

	/**
	 * @return if the iterable content has a previous element
	 */
	boolean hasPrevious();

	/**
	 * @return get the previous element
	 */
	E previous();

	/**
	 * @return get the current element
	 */
	E current();

	/**
	 * @return get the last element
	 */
	E last();

	/**
	 * @return get the first element
	 */
	E first();

}
